﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="other_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../styles/reset.css" rel="stylesheet" type="text/css" />
    <link href="../styles/DefaultStyleSheet.css" rel="stylesheet" type="text/css" />
    <link href="../styles/jquery.mCustomScrollbar.css" rel="stylesheet" type="text/css" />
    <script src="../js/jquerymin.js" type="text/javascript"></script>
    <script src="../js/jquery-ui-1.9.1.custom.min.js" type="text/javascript"></script>
    <script src="../js/jqueryAccordion.js" type="text/javascript"></script>
    <script src="../js/jquery.mCustomScrollbar.min.js" type="text/javascript"></script>
    <script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script>
    <script src="../js/defaultJs.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="header">
        <div class="logo">
        </div>
        <table class="mainMenuTable">
            <tr>
                <td>
                    <div class="addCCBtn optbutton" id="addCCBtn">
                        <ul class="optionUl" id="crUl">
                            <li style="padding-top: 5px;"><span class="arrow"></span><span class="optItem" data="popupCustomerAdd">
                                Customer</span> </li>
                            <li style="padding-top: 5px; padding-bottom: 5px;"><span class="optItem" data="popupClientAdd">
                                Client</span> </li>
                        </ul>
                    </div>
                </td>
                <td>
                    <div class="searchOptionBtn optbutton">
                        <ul class="optionUl" id="searchUl">
                            <li style="padding-top: 5px;"><span class="arrow"></span><span class="optItem" data="Button_SearchCustomer">
                                Customer</span></li>
                            <li style="padding-top: 5px; padding-bottom: 5px;"><span class="optItem" data="Button_SearchClient">
                                Client</span></li>
                        </ul>
                    </div>
                </td>
                <td>
                    <input id="Text_Search" class="searchBox" type="text" />
                </td>
                <td>
                    <span id="Button_SearchCustomer" class="searchButton submit">Search Customer</span>
                    <span id="Button_SearchClient" class="searchButton submit">Search Client</span>
                </td>
            </tr>
        </table>
        <div class="userInfo">Admin</div>
        <asp:LinkButton ID="LinkButton_LogOut" CssClass="logout" runat="server" 
            onclick="LinkButton_LogOut_Click">Logout</asp:LinkButton>
    </div>
    <div class="mainContainer">
        <div class="content" id="dashBoard">
        </div>
        <div class="content" id="customerList">
        </div>
        <div class="content border" id="customerDetail">
            <span class="backButton" id="custDetailBackBtn" data="customerList"></span>
            <input id="Hidden_CustomerId" type="hidden" />
            <div class="titleContainer" id="customerTitleContainer">
                <div class="item" id="CustomerTitle">
                    <h2>
                    </h2>
                    <span></span>
                </div>
                <div class="itemMenuContainer">
                    <div class="itemMenu delete" id="customerDelete">
                    </div>
                    <div class="itemMenu edit" id="customerEdit">
                    </div>
                </div>
            </div>
            <div class="leftSide additionalInfoContainer fleft">
                <div class="additionalInfo">
                    Additional Info <span class="additionalBtn" id="additionalBtnCustomer"></span>
                </div>
                <div class="additionalInfoList" id="customerInfoList">
                    <div class="additionalInfoListItem">
                        Primary Address: Çeliktepe Mah. Lorem Ipsum Levent / İstanbul
                        <div class="itemMenuContainer">
                            <div class="itemMenu delete">
                            </div>
                            <div class="itemMenu edit">
                            </div>
                        </div>
                    </div>
                    <div class="additionalInfoListItem">
                        Primary Phone: 0212 5403030
                    </div>
                    <div class="additionalInfoListItem">
                        Secondary Phone: 0212 5403030
                    </div>
                </div>
            </div>
            <div class="rightSide requestListContainer fright">
                <div class="showAllClients" id="Button_ShowAllClients">
                    List All Clients
                </div>
            </div>
        </div>
        <div class="content" id="clientList">
        </div>
        <div class="content border" id="clientDetail">
            <span class="backButton" id="clieDetailBackBtn" data="clientList"></span>
            <input id="Hidden_ClientId" type="hidden" />
            <div class="titleContainer" id="clientTitleContainer">
                <div class="item" id="ClientTitle">
                    <h2>
                    </h2>
                    <span></span>
                </div>
                <div class="itemMenuContainer">
                    <div class="itemMenu delete" id="clientDelete">
                    </div>
                    <div class="itemMenu edit" id="clientEdit">
                    </div>
                </div>
            </div>
            <div class="leftSide additionalInfoContainer fleft">
                <div class="additionalInfo">
                    Additional Info <span class="additionalBtn" id="additionalBtnClient"></span>
                </div>
                <div class="additionalInfoList" id="clientInfoList">
                    <div class="additionalInfoListItem">
                        Primary Address: Çeliktepe Mah. Lorem Ipsum Levent / İstanbul
                        <div class="itemMenuContainer">
                            <div class="itemMenu delete">
                            </div>
                            <div class="itemMenu edit">
                            </div>
                        </div>
                    </div>
                    <div class="additionalInfoListItem">
                        Primary Phone: 0212 5403030
                    </div>
                    <div class="additionalInfoListItem">
                        Secondary Phone: 0212 5403030
                    </div>
                </div>
            </div>
            <div class="rightSide requestListContainer fright">
                <div class="additionalInfo">
                    Workflow List<span class="additionalBtn" id="addBtnRequest"></span>
                </div>
                <div class="additionalInfoList" id="clientRequestList">
                    <div class="additionalInfoListItem">
                        Primary Address: Çeliktepe Mah. Lorem Ipsum Levent / İstanbul
                        <div class="itemMenuContainer">
                            <div class="itemMenu delete">
                            </div>
                            <div class="itemMenu edit">
                            </div>
                        </div>
                    </div>
                    <div class="additionalInfoListItem">
                        Primary Phone: 0212 5403030
                    </div>
                    <div class="additionalInfoListItem">
                        Secondary Phone: 0212 5403030
                    </div>
                </div>
            </div>
            <br style="clear: both;" />
        </div>
        <div class="content border" id="wfDetail">
            <span class="backButton" id="wfDetailBackBtn" data="clientDetail"></span>
            <input id="Hidden_WfId" type="hidden" />
            <div class="titleContainer" onmouseover="this.style.backgroundColor = 'White';this.style.cursor = 'Default';"
                id="wfTitleContainer">
                <div class="item" id="wfTitle">
                    <h2>
                    </h2>
                    <span></span>
                </div>
                <%-- <div class="itemMenuContainer">
                    <div class="itemMenu delete" id="Div4">
                    </div>
                    <div class="itemMenu edit" id="Div5">
                    </div>
                </div>--%>
            </div>
            <div class="additionalInfoContainer fleft">
                <div class="additionalInfo" id="wfTypeName">
                    Workflow Items
                </div>
                <div class="additionalInfoList" id="WFItemList">
                </div>
            </div>
            <div class="requestListContainer fright">
                <div class="additionalInfo" id="wfProjectHistory">
                    Workflow History
                </div>
                <div class="additionalInfoList" id="WFHistory">
                    <div class="wfHistoryListItem notStarted">
                        Please start the workflow.
                    </div>
                </div>
            </div>
            <br style="clear: both;" />
        </div>
    </div>
    <div class="popupBg pop" id="popupBg">
    </div>
    <div class="popupBg pop" id="popupBgLoader">
    </div>
    <div class="popupLoader pop" id="popupLoader">
        <img src="../images/ajax-loader.gif" />
    </div>
    <div class="popupForm pop" style="min-height: 80px; margin-top: -40px;" id="popupConfirm">
        <table class="table pad10 margAuto">
            <tr>
                <td>
                    <span id="confirmMessage">This data can not be restored. Are you sure?</span>
                </td>
            </tr>
            <tr>
                <td>
                    <input id="Hidden_DeleteId" type="hidden" />
                    <span id="Button_CancelPopup" class="button large fltR">No</span> <span id="Button_ConfirmDeleteId"
                        style="margin-right: 10px;" class="button large fltR">Yes</span>
                </td>
            </tr>
        </table>
    </div>
    <div class="popupForm pop" id="popupCustomerAdd">
        <table class="table pad10 margAuto">
            <tr>
                <td>
                    <input id="Text_CustomerName" data="Customer Name" value="Customer Name" onblur="if(this.value=='') this.value='Customer Name'"
                        onfocus="if(this.value =='Customer Name' ) this.value=''" class="textBox large"
                        type="text" />
                </td>
            </tr>
            <tr>
                <td>
                    <input id="Text_CustomerCode" data="EXM" value="EXM" onblur="if(this.value=='') this.value='EXM'"
                        onfocus="if(this.value =='EXM' ) this.value=''" class="textBox large" type="text" />
                </td>
            </tr>
            <tr>
                <td>
                    <span id="Button_AddCustomer" class="button large fltR submit">Save</span>
                </td>
            </tr>
        </table>
    </div>
    <div class="popupForm pop" style="min-height: 40px;" id="popupCustomerEdit">
        <table class="table pad10 margAuto">
            <tr>
                <td>
                    <input id="Text_CustomerNameEdit" data="Customer Name" value="Customer Name" onblur="if(this.value=='') this.value='Customer Name'"
                        onfocus="if(this.value =='Customer Name' ) this.value=''" class="textBox large"
                        type="text" />
                </td>
            </tr>
            <tr>
                <td>
                    <span id="Button_EditCustomer" class="button large fltR submit">Save</span>
                </td>
            </tr>
        </table>
    </div>
    <div class="popupForm pop" style="min-height: 250px; margin-top: -125px;" id="popupCustomerLovsAdd">
        <table class="table pad10 margAuto">
            <tr>
                <td>
                    <select id="SelectCustomer_RecordType" data="Select" class="select large">
                        <option>Select</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                    <select id="SelectCustomer_RecordName" data="Select" class="select large">
                        <option>Select</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                    <input id="TextCustomer_RecordDescription" data="Record Description" value="Record Description"
                        onblur="if(this.value=='') this.value='Record Description'" onfocus="if(this.value =='Record Description' ) this.value=''"
                        class="textBox large" type="text" />
                </td>
            </tr>
            <tr>
                <td>
                    <input id="TextCustomer_RecordValue" data="Record Value" value="Record Value" onblur="if(this.value=='') this.value='Record Value'"
                        onfocus="if(this.value =='Record Value' ) this.value=''" class="textBox large"
                        type="text" />
                </td>
            </tr>
            <tr>
                <td>
                    <span id="Button_AddCustomerLovs" class="button large fltR submit">Save</span>
                </td>
            </tr>
        </table>
    </div>
    <div class="popupForm pop" style="min-height: 250px; margin-top: -125px;" id="popupCustomerLovsUpdate">
        <table class="table pad10 margAuto">
            <tr>
                <td>
                    <select id="SelectCustomer_RecordTypeEdit" data="Select" class="select large">
                        <option>Select</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                    <select id="SelectCustomer_RecordNameEdit" data="Select" class="select large">
                        <option>Select</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                    <input id="TextCustomer_RecordDescriptionEdit" data="Record Description" value="Record Description"
                        onblur="if(this.value=='') this.value='Record Description'" onfocus="if(this.value =='Record Description' ) this.value=''"
                        class="textBox large" type="text" />
                </td>
            </tr>
            <tr>
                <td>
                    <input id="TextCustomer_RecordValueEdit" data="Record Value" value="Record Value"
                        onblur="if(this.value=='') this.value='Record Value'" onfocus="if(this.value =='Record Value' ) this.value=''"
                        class="textBox large" type="text" />
                </td>
            </tr>
            <tr>
                <td>
                    <input id="Hidden_RecId" type="hidden" />
                    <span id="Button_UpdateCustomerLovs" class="button large fltR submit">Save</span>
                </td>
            </tr>
        </table>
    </div>
    <div class="popupForm pop" id="popupClientAdd">
        <table class="table pad10 margAuto">
            <tr>
                <td>
                    <select id="Select_AddClientCustomerList" data="Select" class="select large">
                        <option>Select</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                    <input id="Text_AddClientName" data="Client Name" value="Client Name" onblur="if(this.value=='') this.value='Customer Name'"
                        onfocus="if(this.value =='Client Name' ) this.value=''" class="textBox large"
                        type="text" />
                </td>
            </tr>
            <tr>
                <td>
                    <input id="Text_AddClientCode" data="EXM" value="EXM" onblur="if(this.value=='') this.value='EXM'"
                        onfocus="if(this.value =='EXM' ) this.value=''" class="textBox large" type="text" />
                </td>
            </tr>
            <tr>
                <td>
                    <span id="Button_AddClient" class="button large fltR submit">Save</span>
                </td>
            </tr>
        </table>
    </div>
    <div class="popupForm pop" id="popupClientEdit">
        <table class="table pad10 margAuto">
            <tr>
                <td>
                    <input id="Text_ClientEditName" data="Client Name" value="Client Name" onblur="if(this.value=='') this.value='Client Name'"
                        onfocus="if(this.value =='Client Name' ) this.value=''" class="textBox large"
                        type="text" />
                </td>
            </tr>
            <tr>
                <td>
                    <span id="Button_EditClient" class="button large fltR submit">Save</span>
                </td>
            </tr>
        </table>
    </div>
    <div class="popupForm pop" style="min-height: 250px; margin-top: -125px;" id="popupClientLovsAdd">
        <table class="table pad10 margAuto">
            <tr>
                <td>
                    <select id="SelectClient_RecordType" data="Select" class="select large">
                        <option>Select</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                    <select id="SelectClient_RecordName" data="Select" class="select large">
                        <option>Select</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                    <input id="TextClient_RecordDescription" data="Record Description" value="Record Description"
                        onblur="if(this.value=='') this.value='Record Description'" onfocus="if(this.value =='Record Description' ) this.value=''"
                        class="textBox large" type="text" />
                </td>
            </tr>
            <tr>
                <td>
                    <input id="TextClient_RecordValue" data="Record Value" value="Record Value" onblur="if(this.value=='') this.value='Record Value'"
                        onfocus="if(this.value =='Record Value' ) this.value=''" class="textBox large"
                        type="text" />
                </td>
            </tr>
            <tr>
                <td>
                    <span id="Button_AddClientLovs" class="button large fltR submit">Save</span>
                </td>
            </tr>
        </table>
    </div>
    <div class="popupForm pop" style="min-height: 250px; margin-top: -125px;" id="popupClientLovsUpdate">
        <table class="table pad10 margAuto">
            <tr>
                <td>
                    <select id="SelectClient_RecordTypeEdit" data="Select" class="select large">
                        <option>Select</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                    <select id="SelectClient_RecordNameEdit" data="Select" class="select large">
                        <option>Select</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                    <input id="TextClient_RecordDescriptionEdit" data="Record Description" value="Record Description"
                        onblur="if(this.value=='') this.value='Record Description'" onfocus="if(this.value =='Record Description' ) this.value=''"
                        class="textBox large" type="text" />
                </td>
            </tr>
            <tr>
                <td>
                    <input id="TextClient_RecordValueEdit" data="Record Value" value="Record Value" onblur="if(this.value=='') this.value='Record Value'"
                        onfocus="if(this.value =='Record Value' ) this.value=''" class="textBox large"
                        type="text" />
                </td>
            </tr>
            <tr>
                <td>
                    <input id="Hidden_RecIdClient" type="hidden" />
                    <span id="Button_UpdateClientLovs" class="button large fltR submit">Save</span>
                </td>
            </tr>
        </table>
    </div>
    <div class="popupForm pop" id="popupClientRequest">
        <table class="table pad10 margAuto">
            <tr>
                <td>
                    <select id="SelectClient_Request" data="Select" class="select large">
                        <option>Select</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                    <span id="Button_AddRequest" class="button large fltR submit">Save</span>
                </td>
            </tr>
        </table>
    </div>
    <div class="popupForm pop" id="popupWFItem">
        <input id="Hidden_WfIndex" type="hidden" />
        <table class="table pad10 margAuto">
            <tr>
                <td>
                    <input id="Text_WfComment" data="Comment" value="Comment" onblur="if(this.value=='') this.value='Comment'"
                        onfocus="if(this.value =='Comment' ) this.value=''" class="textBox large" type="text" />
                </td>
            </tr>
            <tr>
                <td>
                    <span id="Button_StartWfItem" class="button large fltR submit">Save</span>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
